package com.it.pojo;

public class BookBreed {
    private String category;
    private int number;

    public BookBreed() {
    }

    public BookBreed(String breed, int number) {
        this.category = breed;
        this.number = number;
    }

    /**
     * 获取
     * @return breed
     */
    public String getCategory() {
        return category;
    }

    /**
     * 设置
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * 获取
     * @return number
     */
    public int getNumber() {
        return number;
    }

    /**
     * 设置
     * @param number
     */
    public void setNumber(int number) {
        this.number = number;
    }

    public String toString() {
        return "BookBreed{breed = " + category + ", number = " + number + "}";
    }
}
